<?php

use yii\db\Migration;
use yii\db\Schema;

class m170111_013823_EDIT_PRODUCT_ROOM_FIELD extends Migration
{
    public function up()
    {
        $this->dropColumn('{{product_room}}', 'price');
        $this->dropColumn('{{product_room}}', 'inside_price');
        $this->dropColumn('{{product_room}}', 'people');

    }

    public function down()
    {
        echo "m170111_013823_EDIT_PRODUCT_ROOM_FIELD cannot be reverted.\n";

        return false;
    }

    /*
    // Use safeUp/safeDown to run migration code within a transaction
    public function safeUp()
    {
    }

    public function safeDown()
    {
    }
    */
}
